package com.sbw.front.demo.common.enums;

/**
 * Created by liyanlei on 2018/8/29.
 */
public enum ReportResponseCode {

    //begin 5000 report code
    INVALID_PARAMS("5001", "参数错误"),
    HOTEL_ID_IS_NULL("5002", "参数酒店ID为空");

    private final String code;
    private final String msg;

    public String getCode() {
        return this.code;
    }

    public String getMsg() {
        return this.msg;
    }

    @Override
    public String toString() {
        return "ResponseCode(code=" + this.getCode() + ", msg=" + this.getMsg() + ")";
    }

    private ReportResponseCode(String code, String msg) {
        this.code = code;
        this.msg = msg;
    }


}
